package com.suixun.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class PackageInfo implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
    private String packagename;
    private BigDecimal fee2;
    private Integer freetime;
    private Integer trytime;
    private Date createtime;
    private Integer status;// 0未使用1已使用-1已注销
    private String packagecontent;
    
    
	public String getPackagecontent() {
		StringBuffer buffer = new StringBuffer();
		buffer.append("年费").append(fee2);
		if (freetime != null && freetime.intValue() != 0)
			buffer.append("、送").append(freetime).append("个月");
		if (trytime != null && trytime.intValue() != 0)
			buffer.append("、激活日起").append(trytime).append("天免费");
		return buffer.toString();
	}
	public void setPackagecontent(String packagecontent) {
		this.packagecontent = packagecontent;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getPackagename() {
		return packagename;
	}
	public void setPackagename(String packagename) {
		this.packagename = packagename;
	}
	public BigDecimal getFee2() {
		return fee2;
	}
	public void setFee2(BigDecimal fee2) {
		this.fee2 = fee2;
	}
	public Integer getFreetime() {
		return freetime;
	}
	public void setFreetime(Integer freetime) {
		this.freetime = freetime;
	}
	public Integer getTrytime() {
		return trytime;
	}
	public void setTrytime(Integer trytime) {
		this.trytime = trytime;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
    
    

}